package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司认证管理对象 wx_company
 * 
 * @author ruoyi
 * @date 2021-11-19
 */
public class WxCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** 统一信用代码 */
    @Excel(name = "统一信用代码")
    private String serialNumber;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String representative;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String attachment;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSerialNumber(String serialNumber)
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber()
    {
        return serialNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRepresentative(String representative) 
    {
        this.representative = representative;
    }

    public String getRepresentative() 
    {
        return representative;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("name", getName())
            .append("serialNumber", getSerialNumber())
            .append("address", getAddress())
            .append("representative", getRepresentative())
            .append("phone", getPhone())
            .append("attachment", getAttachment())
            .append("userId", getUserId())
            .append("status", getStatus())
            .toString();
    }
}
